Skip to main content

TsgDXFLeader

Unit: DXFConv

Description

This class defines a leader line (entity LEADER) is an object that can be composed of an arrowhead attached to splines or straight line segments. In some cases, a short horizontal line, called a hook line, dogleg, or landing, connects text and feature control frames to the leader line. The leader start point can be associated with a location on an object. If the object is relocated, the arrowhead remains attached to the object and the leader line stretches, but the text or feature control frame remains in place.

Syntax

TsgDXFLeader = class(TsgDXFSpline)

Properties

PropertiesDescription
ArrowheadThe property gets or sets a value indicating whether arrowhead of the TsgDXFLeader entity is enabled.
ArrowScaleThe property sets or gets scale parameter for arrow of the TsgDXFLeader entity (Dim scale overall in AutoCAD terms).
ArrowSizeThe property gets or sets a size of leader arrowheads.
InsertThe property gets or sets a type of leader arrowheads.
IsSplineThe property gets or sets the arrowhead type for leader.
Derived from TsgDXFSplineDescription
BeginningTangentThe property sets or gets start tangent.
ControlPointsThe property realizes the indexed access to all control points.
ControlsThe property contains list of control points as pointers to the TFPoint type.
EndingTangentThe property sets or gets end tangent.
FitThe property contains list of fit points as list of the TsgDXFVertex class objects.
FitPointsThe property realizes the indexed access to all fits point.
IsByAnglesThe property defines what way spline is built.
KnotsThe property contains list of knot values as single type values represented as pointers.
LengthThe property indicates length of a spline.
Derived from TsgCADBasePolylineDescription
ClosedThe property gets or sets a value indicating whether a polyline is closed.
DottedPointsThe property gets a point specified by Index parameter from the TsgCADBasePolyline.DottedSingPts list.
DottedSingPtsThe property gets coordinates of the polyline points as a list of pointers to TFPoint.If a value of IsSolid property is True, DottedSingPts contains a value of Polypoints property.
FlagsThe property gets or sets a value of polyline flag (bit-coded), default is 0.
IsPolyZThicknessThe property gets a value indicating whether the polyline has thickness on OZ axis.
PointsThe property gets a point from the PolyPoints list by its index.
PolyPointsThe property gets a list of points that belong to the polyline.
Derived from TsgDXFPenLineDescription
ExtrusionThe property indicates direction to local axis z.
LineTypeThe property returns line type the TsgDXFLineType entity.
PointThe poroperty contains coordinates for the base point.
ZThickThe property contains offset by Z axis (Thickness in AutoCAD terms).
Derived from TsgDXFPenEntityDescription
PenThe property for reaching the TPen object, used for drawing.
Derived from TsgDXFEntityDescription
BoxThe property determines the 3d box embraced the entity.
ColorThe property gets or sets entity color.
ColorCADThe property gets or sets a color for drawing entities.
ComplexThe property determines whether a entity is populated with child entities.
ConverterThe property returns the TsgDXFConverter class object.
CountThe property indicates the total number of child entities.
EntitiesThe property lists all child entities.
EntTypeThe property indicates type of an entity.
HandleThe property is used for finding entity links.
LayerThe property points to layer, containing given primitive if this layer is given.
LineTypeThe property sets and gets line type for an entity.
LineTypeScaleThe property sets and gets the Linetype scale.
LineWeightThe property sets or gets line weight in millimeters.
PaperSpaceThe property indicates Model Space and Paper Space entity segregation.
SrcEndThe property indicates end position of the entity description in the source CAD file.
SrcStartThe property indicates start position of the entity description in the source CAD file.
VisibilityThe property sets and gets entities visibility.
VisibleThe property determines whether the component appears onscreen.

Methods

MethodsDescription
CreateCreates an instance of the TsgDXFLeader object.
DestroyFrees up all internal objects before destroying this object.
Derived from TsgDXFSplineDescription
AssignEntityThe method copies properties of source entity to current entity.
ControlCountThe method returns count of the control points of the spline.
FitCountThe method returns number of the fits points.
GetPointsThe method calls the Proc procedure with all controls point if spline.
Derived from TsgCADBasePolylineDescription
DottedCountThe method returns a quantity of DottedSingPts in the TsgCADBasePolyline object.
GetBoxPointsThe method see the TsgDXFEntity.GetBoxPoints method.
PointCountThe method returns a quantity of PolyPoints in the TsgCADBasePolyline object.
Derived from TsgDXFPenLineDescription
GetThicknessThe method returns entity's thickness.
SetLWeightThe method call SetLWeight to change line weight of the entity.
Derived from TsgDXFEntityDescription
AddEntityThe method adds a new child entity.
CloneThe method copies properties of source entity to current entity (include Handle).
DrawThe method generates the OnDraw event.
EntNameThe method returns an entity name.
SetLTypeThe method sets line type of the entity.

Events

Derived from TsgDXFEntityDescription
OnDrawThe event occurs when the Draw method is called.